package com.ikaros.service;

import com.ikaros.entity.ProductCategory;

import java.util.List;

/**
 * Created by Ikaros on 2017/9/10.
 */
public interface CategoryService {
    ProductCategory findOne(Integer categoryId);
    List<ProductCategory> findAll();

    /**
     * 按id查找所有类目
     * @param categoryTypeList
     * @return
     */
    List<ProductCategory> findCategoryTypeIn(List<Integer> categoryTypeList);
    ProductCategory save(ProductCategory productCategory);
}
